﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace aula14
{
    public delegate T Transformador<T> (T arg);
    public class Util
    {
        public static void Transformar<T>(T[] valores,
            Transformador<T> t)
        {
            for (int i = 0; i < valores.Length; i++)
                valores[i] = t(valores[i]);
        }
    }
}
